<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="author" content="wangbo">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>答案</title>
</head>
<body>
    <div id="test1"></div>
    <script type="text/javascript" src="../js/react.development.js"></script>
    <script type="text/javascript" src="../js/react-dom.development.js"></script>
    <script type="text/javascript">
        const h1 = React.createElement('h1',null,"组合的联系静态数据");
		const Add = React.createElement('Add',{className: 'myadd'},null);
        const input = React.createElement('input',{type:"test",name: ''},null);
        const button = React.createElement('button',{type:"button"},"按钮#4");
        const myadd = React.createElement('div',{className: 'myadd'},input,button);
		const li = React.createElement('li',null,"aaa");
		const myid = React.createElement('ul',{id: 'myid'},li);
		true_dom  = document.getElementById("test1")
		ReactDOM.render([h1,,Add,myadd,myid],true_dom);	
    </script>

</body>
</html>